
package com.probiz.estore.imports.web.action;

import com.probiz.estore.core.util.I18nUtil;
import com.probiz.estore.imports.service.ProductImportManager;

public class ProductImportController extends BaseImportController {
	
	private ProductImportManager	productImportManager;
	
	public void setProductImportManager(ProductImportManager productImportManager) {
		this.productImportManager = productImportManager;
	}

	protected void initController() throws Exception{
		importManager = productImportManager;
	}

	@Override
	protected String getFileTemplateUrl() {
		return "/download/imports/product.xls";
	}
	@Override
	protected String getFileExampleUrl() {
		return "/download/imports/productExample.xls";
	}

	protected String getTitle() {
		return I18nUtil.getInstance().getMessage("productImport.title");
	}

	
}
